package com.mingqijia.gassafety.webserver.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-03-10
 */
@ApiModel(value = "报警通知列表入参")
@Data
public class WarningRecordListRequest {
    @ApiModelProperty(value = "模板类型 1-模板一，2-模板二")
    private Integer templateType;


    @ApiModelProperty("模板二: 用户ID")
    private String noticeMemberId;

    @ApiModelProperty("模板二: 用户手机号")
    private String noticeContactPhone;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "通知开始时间范围-开始")
    private Date startTimeBeginning;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "通知开始时间范围-结束")
    private Date startTimeEnd;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "报警开始时间-开始")
    private Date warningStartTimeBeginning;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "报警开始时间-结束")
    private Date warningStartTimeEnd;

    @ApiModelProperty(value = "通知对象名(客户名)")
    private String noticeObject;

    @ApiModelProperty(value = "通知对象名(户号)")
    private String noticeSubsCode;

    @ApiModelProperty(value = "通知对象名(户名)")
    private String noticeCustName;


    @ApiModelProperty(value = "规则名称")
    private String strategyName;

    @ApiModelProperty(value = "报警类型: 1低报 2高报,3低报,高报")
    private String type;

    @ApiModelProperty(value = "状态, 0执行中 1手动暂停 2报警解除，系统暂停")
    private Integer status;

    @ApiModelProperty("页码")
    private Integer page=1;

    @ApiModelProperty("数量")
    private Integer pageSize=30;


    @ApiModelProperty("imei设备号")
    private String imei;
}
